package org.mm.proxycache.http.codec;

import org.apache.mina.common.IoBuffer;

import static com.google.common.base.Objects.nonNull;

public class CompleteHttpResponse extends DefaultHttpResponse
{

    private IoBuffer data;

    public void setData( IoBuffer buffer )
    {
        this.data = nonNull( buffer );
    }

    public IoBuffer data()
    {
        return data;
    }
}
